import Vue from 'vue';
import App from './App.vue';
import router from './router';
import './router/permission';
import store from './store';
import './plugins/element.js';
import './assets/css/reset.css';
import axios from "axios";

import request from '@/utils/request';
import apis from "./api/index";
let apiObject = {};
for (var i in apis) {
  apiObject[i] = apis[i](request);
}
Vue.prototype.$api = apiObject

Vue.prototype.$axios = axios;
Vue.config.productionTip = false
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
